package com.lion.ball.modules.orderfood.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import com.lion.common.spring.business.base.BaseCrudController;
import com.lion.ball.modules.orderfood.domain.entity.OfdPackageEntity;
import com.lion.ball.modules.orderfood.web.model.params.create.OfdPackageCreateParam;
import com.lion.ball.modules.orderfood.web.model.params.update.OfdPackageUpdateParam;
import com.lion.ball.modules.orderfood.web.model.params.search.OfdPackageSearchParam;
import com.lion.ball.modules.orderfood.web.model.params.order.OfdPackageOrderParam;
import com.lion.ball.modules.orderfood.web.model.results.OfdPackageResult;
import com.lion.ball.modules.orderfood.dao.repository.OfdPackageRepository;
import com.lion.ball.modules.orderfood.service.assistants.converters.OfdPackageConverter;
import com.lion.ball.modules.orderfood.service.def.OfdPackageService;
import com.lion.ball.modules.orderfood.web.api.OfdPackageApi;

/**
 * @author Chris Chan
 * Create on 2025-10-18 13:33
 * Use for: 套餐 接口实现
 * Explain:
 * 
 */
@RestController
@RequestMapping("ofd/package")
public class OfdPackageController implements OfdPackageApi, BaseCrudController<
        OfdPackageEntity,
        OfdPackageCreateParam,
        OfdPackageUpdateParam,
        OfdPackageSearchParam,
        OfdPackageOrderParam,
        OfdPackageResult,
        OfdPackageRepository,
        OfdPackageConverter,
        OfdPackageService
        > {

    @Autowired
    OfdPackageService ofdPackageService;

    @Override
    public OfdPackageService getService() {
        return ofdPackageService;
    }
}